Skip to content

Update existing user

Request

Security
basicAuth
Path
CUSTOMERstring, [ 5 .. 7 ] characters(customer)[0-9]{5}([A-Z]{2})?required
Example:44444
USERstring[^/]+(?:@|%40)[^/]+required
Example:customer@domain.com
Bodyapplication/jsonrequired
non-empty
displayNamestring, [ 1 .. 256 ] characters(displayName)
Example:"R. Meyer"
givenNamestring, [ 1 .. 128 ] characters(givenName)
Example:"Robert"
surNamestring, [ 1 .. 128 ] characters(surName)
Example:"Meyer"
languagestring, <= 8 characters(language)
Enum:"cs_CZ""da_DK""de_DE""en_GB""en_US""es_ES""es_MX""fi_FI""fr_FR""hu_HU"
Example:"de_DE"
timezonestring, <= 32 characters(timezone)
Enum:"Africa/Abidjan""Africa/Accra""Africa/Addis_Ababa""Africa/Algiers""Africa/Asmara""Africa/Asmera""Africa/Bamako""Africa/Bangui""Africa/Banjul""Africa/Bissau"
Example:"Europe/Berlin"
departmentstring or null, [ 1 .. 256 ] characters(department_v2)
Example:"Sales"
costcenterstring or null, [ 1 .. 256 ] characters(costcenter_v2)
Example:"01"
phonestring or null, [ 1 .. 64 ] characters(phone)
Example:"+49 30 67242-33"
mobilestring or null, [ 1 .. 64 ] characters(mobile)
Example:"+49 175 424222"
failoverGroupsArray of strings or null, <= 16 items(failoverGroups)
Example:
[ "emea", "germany" ]
curl -i -X PATCH \
  -u '<username>:<password>' \
  https://developers.retarus.com/_mock/seg/email-continuity-api/44444/customer@domain.com \
  -H 'Content-Type: application/json' \
  -d '{
    "displayName": "R. Meyer",
    "givenName": "Robert",
    "surName": "Meyer",
    "language": "de_DE",
    "timezone": "Europe/Berlin",
    "department": "Sales",
    "costcenter": "01",
    "phone": "+49 30 67242-33",
    "mobile": "+49 175 424222",
    "failoverGroups": [
      "emea",
      "germany"
    ]
  }'

Responses

OK

Bodyapplication/json
idstringrequired
timestampstringrequired
Response
{ "id": "string", "timestamp": "string" }